When suspending and resuming, look up the managed path using the domain's UUID.
authorEwan Mellor <ewan@xensource.com>
Mon, 27 Nov 2006 14:52:41 +0000 (14:52 +0000)
committerEwan Mellor <ewan@xensource.com>
Mon, 27 Nov 2006 14:52:41 +0000 (14:52 +0000)
commit7a914ac673cf5dbd56c501297fd6fab73ecd8581
tree61540a8fa58467d59e8e97dc072a8a1f28d9ba77
parent283b2fa4e8bedc649bfb2549f7233c6dd12e3d23
When suspending and resuming, look up the managed path using the domain's UUID.

Add a resumed domain to the self.domains list after XendCheckpoint.restore,
to ensure that it does not get recreated immediately afterwards.

Perform domain_resume under the domains_lock, given that the domain needs to
be added.

These fixes together should fix xm suspend and xm resume.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomain.py